//
//  ZHLoginModel.m
//  ZHS_UCDemo
//
//  Created by Emrys on 2016/11/10.
//  Copyright © 2016年 Emrys. All rights reserved.
//

#import "ZHLoginModel.h"
#import "ZHUser.h"

#import "ZHTools.h"

@implementation ZHLoginModel

+ (instancetype)makeModelWithObject:(id)obj {
    
    ZHLoginModel *loginModel = [super makeModelWithObject:obj];
    
    if (loginModel) {
        
        [ZHTools storeUpLeaderWithLeaderSymbol:loginModel.isLeader];
        [ZHTools storeUpPartyAName:loginModel.partyAName];
        [ZHTools storeUpPartyBName:loginModel.partyBName];
        [ZHTools storeUpAppTitle:loginModel.appTitle];
        
        return loginModel;
    }
    return nil;
}
@end
